﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api
{
   public class BrackmachineService : BaseService<BrackmachineService>
    {
         private static BrackmachineService instance;
        private static object _lock = new object();
        private BrackmachineService() { }

        /// <summary>
        /// 获取实体类
        /// </summary>
        /// <returns></returns>
        public static BrackmachineService getInstance()
        {
            if (instance == null)
            {
                lock (_lock)
                {
                    if (instance == null)
                    {
                        instance = new BrackmachineService();
                        return instance;
                    }
                }
            }
            return instance;
        }
     
    }
}
